package com.sunyifeng.ch03;

public class Singleton1Lazy {
    private static Singleton1Lazy instance;

    private Singleton1Lazy() {
    }

    public static Singleton1Lazy getInstance() {
        if (instance == null) {
            instance = new Singleton1Lazy();
        }
        return instance;
    }
}
